package com.mmall.service;

import com.github.pagehelper.PageInfo;
import com.mmall.common.ServerResponse;
import com.mmall.vo.OrderVo;

import java.util.Map;

public interface IOrderService {
    ServerResponse payOrder(String path, Integer id, Long orderNo);

    ServerResponse callbackeOrder(Map<String, String> parMap);

    ServerResponse<Boolean> quseryOrder(Integer id, Long orderNo);

    ServerResponse creatOrdre(Integer id, Integer shipping);

    ServerResponse cancelOrdre(Integer id, Long orderOn);

    ServerResponse selectOrdre(Integer id);

    ServerResponse detailOrder(Integer id, Long orderNo);

    ServerResponse getOrderList(Integer id, Integer pageNo, Integer pageSize);

    //backend
    ServerResponse<PageInfo> manageList(int pageNum, int pageSize);
    ServerResponse<OrderVo> manageDetail(Long orderNo);
    ServerResponse<PageInfo> manageSearch(Long orderNo,int pageNum,int pageSize);
    ServerResponse<String> manageSendGoods(Long orderNo);


}
